export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/position/index',
    'pages/setting/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: '股票后台',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#666',
    selectedColor: '#1890ff',
    backgroundColor: '#fff',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: 'assets/home.png',
        selectedIconPath: 'assets/home-active.png'
      },
      {
        pagePath: 'pages/position/index',
        text: '持仓',
        iconPath: 'assets/position.png',
        selectedIconPath: 'assets/position-active.png'
      },
      {
        pagePath: 'pages/setting/index',
        text: '设置',
        iconPath: 'assets/setting.png',
        selectedIconPath: 'assets/setting-active.png'
      }
    ]
  }
})
